package com.example.wx.dailyreport.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 *
 * </p>
 *
 * @author hulinbo
 * @since 2020-08-08
 */
public class Wxword extends Model<Wxword> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 单词
     */
    private String word;

    /**
     * 释义
     */
    private String wordexplain;

    /**
     * 点赞数
     */
    private Integer supportnum;

    /**
     * 收藏数
     */
    private Integer collectionnum;

    private Boolean supportflag;
    private Boolean collectionflag;

    public Boolean getSupportflag() {
        return supportflag;
    }

    public void setSupportflag(Boolean supportflag) {
        this.supportflag = supportflag;
    }

    public Boolean getCollectionflag() {
        return collectionflag;
    }

    public void setCollectionflag(Boolean collectionflag) {
        this.collectionflag = collectionflag;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public String getWordexplain() {
        return wordexplain;
    }

    public void setWordexplain(String wordexplain) {
        this.wordexplain = wordexplain;
    }

    public Integer getSupportnum() {
        return supportnum;
    }

    public void setSupportnum(Integer supportnum) {
        this.supportnum = supportnum;
    }

    public Integer getCollectionnum() {
        return collectionnum;
    }

    public void setCollectionnum(Integer collectionnum) {
        this.collectionnum = collectionnum;
    }

    @Override
    public String toString() {
        return "Wxword{" +
                "id=" + id +
                ", word='" + word + '\'' +
                ", wordexplain='" + wordexplain + '\'' +
                ", supportnum=" + supportnum +
                ", collectionnum=" + collectionnum +
                ", supportflag=" + supportflag +
                ", collectionflag=" + collectionflag +
                '}';
    }
}
